using Vin.Extension.Framework.Sms.Model;

namespace Vin.Extension.Framework.Sms.Phone.ServiceInterface;

public interface ISendSmsService
{
    /// <summary>
    /// 发送者信息
    /// </summary>
    object? SenderInfo { get; }

    /// <summary>
    /// 发送渠道
    /// </summary>
    string Channel { get; }

    Task<(bool, string)> SendAsync(string businessId, string businessDesc, List<string> receivers, string title,
        string template, object? templateData, string content, VinSmsSendOption? option = null);
}